﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="content_header.aspx.cs"
    Inherits="TRPOP.CMS.Web.Admin.content_header" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>内容管理-<%=base.m_strBaseAdminPageName%></title>
    <script src="../../js/utils.js" type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../js/jquery.form.js" type="text/javascript"></script>
    <script src="../js/content_header.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="content_headMenu">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <%if (m_NodeInfo.NodeTypeId == (int)TRPOP.Common.NodeType.EnumElement.VirualNode)
                  { %>
                <td nowrap="nowrap">
                    <font>
                        <%=m_NodeInfo.Name%>(<a href="javascript:top.mainwin_Open('../publish/admin_publish_list.aspx?nodeid=<%=m_InheritNodeInfo.NodeId %>');"><%=m_InheritNodeInfo.Name%></a>)
                    </font><font class="description">[<b><%=m_NodeInfo.NodeId%></b>]</font>
                </td>
                <td>
                </td>
                <td nowrap="nowrap" onclick="doing('syncContent');">
                    同步父结点内容
                </td>
                <%} %>
                <%if (m_NodeInfo.NodeTypeId == (int)TRPOP.Common.NodeType.EnumElement.TrueNode)
                  { %>
                <td nowrap="nowrap">
                    <font>
                        <%=m_NodeInfo.Name%>
                    </font><font class="description">[<b><%=m_NodeInfo.NodeId%></b>]</font>
                </td>
                <td>
                </td>
                <td nowrap="nowrap" onclick="doing('createContent');">
                    添加内容
                </td>
                <%} %>
                <td>
                    <span class="ltsep">|</span>
                </td>
                <td nowrap="nowrap" onclick="doing('');">
                    发布管理
                </td>
                <td>
                    <span class="ltsep">|</span>
                </td>
                <%if (m_NodeInfo.NodeTypeId == (int)TRPOP.Common.NodeType.EnumElement.TrueNode)
                  { %>
                <td nowrap="nowrap" onclick="doing('extrapublish_admin');">
                    附加发布
                </td>
                <%} %>
                <td>
                    <span class="ltsep">|</span>
                </td>
                <td nowrap="nowrap" onclick="doing('setting');">
                    设置
                </td>
                <td>
                    <span class="ltsep">|</span>
                </td>
                <td nowrap="nowrap" onclick="doing('recycle_bin');">
                    回收站
                </td>
                <%if (m_NodeInfo.IndexTemplate != "")
                  { %>
                <td>
                    <span class="ltsep">|</span>
                </td>
                <td nowrap="nowrap" onclick="doing('view_index');">
                    查看 <a style="display: none;" href="javascript:doing('edit_index');">
                        编辑&nbsp;&nbsp;</a>
                </td>
                <td>
                    <span class="ltsep">|</span>
                </td>
                <td nowrap="nowrap" onclick="doing('refresh_index');">
                    刷新首页
                </td>
                <%}%>
                <%if (m_NodeInfo.ImageTemplate != "")
                  { %>
                <td class="hide" style="display: none">
                    <span class="ltsep">|</span>
                </td>
                <td class="hide" nowrap="nowrap" style="display: none">
                    编辑<a href="javascript:doing('edit_list');">图片页</a>&nbsp;模板
                </td>
                <%} %>
                <%if (m_NodeInfo.DetailTemplate != "")
                  { %>
                <td class="hide" style="display: none">
                    <span class="ltsep">|</span>
                </td>
                <td class="hide" nowrap="nowrap" style="display: none">
                    编辑<a href="javascript:doing('edit_content_tpl');">内容页</a>&nbsp;模板
                </td>
                <%} %>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
